Language

public final class Language

A language for which Chromium can perform spell checking.

This class contains a pre-defined set of languages supported by Chromium, and also allows you to create a new one from the language abbreviation pair.

Since

7.27

Properties

Link copied to clipboard
public final static Language BULGARIAN
Link copied to clipboard
public final static Language CATALAN
Link copied to clipboard
public final static Language CROATIAN
Link copied to clipboard
public final static Language CZECH
Link copied to clipboard
public final static Language DANISH
Link copied to clipboard
public final static Language DUTCH
Link copied to clipboard
public final static Language ENGLISH_UK
Link copied to clipboard
public final static Language ENGLISH_US
Link copied to clipboard
public final static Language ESTONIAN
Link copied to clipboard
public final static Language FRENCH
Link copied to clipboard
public final static Language GERMAN
Link copied to clipboard
public final static Language GREEK
Link copied to clipboard
public final static Language HEBREW
Link copied to clipboard
public final static Language HINDI
Link copied to clipboard
public final static Language HUNGARIAN
Link copied to clipboard
public final static Language INDONESIAN
Link copied to clipboard
public final static Language ITALIAN
Link copied to clipboard
public final static Language KOREAN
Link copied to clipboard
public final static Language LATVIAN
Link copied to clipboard
public final static Language LITHUANIAN
Link copied to clipboard
public final static Language NORWEGIAN
Link copied to clipboard
public final static Language PERSIAN
Link copied to clipboard
public final static Language POLISH
Link copied to clipboard
public final static Language PORTUGUESE_BRAZIL
Link copied to clipboard
public final static Language PORTUGUESE_PORTUGAL
Link copied to clipboard
public final static Language ROMANIAN
Link copied to clipboard
public final static Language RUSSIAN
Link copied to clipboard
public final static Language SERBIAN
Link copied to clipboard
public final static Language SLOVAK
Link copied to clipboard
public final static Language SLOVENIAN
Link copied to clipboard
public final static Language SPANISH_SPAIN
Link copied to clipboard
public final static Language SWEDISH
Link copied to clipboard
public final static Language TURKISH
Link copied to clipboard
public final static Language UKRAINIAN
Link copied to clipboard
public final static Language VIETNAMESE

Functions

Link copied to clipboard
public String code()
Returns the language code.
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public static Language of(String code)
Returns a Language with the given code.
public static Language of(String code, String region)
Creates a new Language with the given code and region.
Link copied to clipboard
Returns an Optional that contains a string that represents the region or an empty Optional if the region is not specified.
Link copied to clipboard
public String toString()
Returns a string representation of the Language.